package com.kefu.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "user")
public class User {
    @Id
    private String id;             // 用户ID
    private String phone;          // 手机号
    private String nickname;       // 昵称
    private String avatar;         // 头像URL(可选)
    private boolean isAnonymous;   // 是否为匿名用户（0-否，1-是）
}
